for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
$(document).ready(function(){
$('.amarkal-settings-button').on('click',function(e){
e.preventDefault();
var $button = $(this);
if(!$button.data('disabled'))
{
$('.amarkal-settings-button').data('disabled',true);
$button.addClass('processing');
Amarkal.settings[$button.val()](function(){
Amarkal
/** global: Amarkal */
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.
$button.removeClass('processing');
$('.amarkal-settings-button').data('disabled',false);
});
}
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.